package org.example.spring03tx.bean;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Account {
    private Integer id;
    private String username;
    private Integer age;
    private BigDecimal balance;//金额用BigDecimal：避免精度丢失
    private  BigDecimal money;
}
